03. Installing Ember-CLI

Installing Ember-CLI

Ember-CLI

Before we can create an Ember app, you need to make sure your computer has the right software. Ember has a command line build tool called Ember-CLI that we'll use to generate Ember applications.

Ember-CLI Dependencies

Ember-CLI is installed using NPM, so make sure Node is installed and that both Node and NPM are up to date on your machine. Ember-CLI uses the package manager Bower to manage front-end dependencies like jQuery, QUnit, and even the Ember framework, itself! Ember-CLI is also closely integrated with the version control tool, Git, so make sure that's installed, too.

  1. Node installed & updated
  2. NPM installed & updated
  3. Bower installed
  4. Git installed

To install Ember-CLI, run:

npm install -g ember-cli

If everything installed correctly, you should see npm info ok.

If you run into any issues, check out Ember-CLI's Getting Started docs.

The ember Command

Even though we installed Ember-CLI with a package named ember-cli, the command that we actually use is ember. To verify that the Ember-CLI is installed correctly, run ember -v. This is the output I get when running ember -v:

$ ember -v
version: 2.2.0-beta.6
node: 4.2.1
npm: 2.14.10
os: darwin x64

Our environment is all set up and Ember-CLI is installed and ready to go.